package com.symaster.common;

/**
 * @author yinmiao
 * @version 2022-05-26 14:51
 */
public enum TypeEnum {

    TIFF_DE_TYPE_NewSubFileType(254, "NewSubFileType"),
    TIFF_DE_TYPE_SubFileType(255, "SubFileType"),
    TIFF_DE_TYPE_ImageWidth(256, "ImageWidth"),
    TIFF_DE_TYPE_ImageLength(257, "ImageLength"),
    TIFF_DE_TYPE_BitsPerSample(258, "BitsPerSample"),
    TIFF_DE_TYPE_Compression(259, "Compression"),
    TIFF_DE_TYPE_PhotometricInterpretation(262, "PhotometricInterpretation"),
    TIFF_DE_TYPE_ThreshHolding(263, "ThreshHolding"),
    TIFF_DE_TYPE_CellWidth(264, "CellWidth"),
    TIFF_DE_TYPE_CellLength(265, "CellLength"),
    TIFF_DE_TYPE_FillOrder(266, "FillOrder"),
    TIFF_DE_TYPE_ImageDescription(270, "ImageDescription"),
    TIFF_DE_TYPE_Make(271, "Make"),
    TIFF_DE_TYPE_Model(272, "Model"),
    TIFF_DE_TYPE_StripOffsets(273, "StripOffsets"),
    TIFF_DE_TYPE_Orientation(274, "Orientation"),
    TIFF_DE_TYPE_SamplesPerPixel(277, "SamplesPerPixel"),
    TIFF_DE_TYPE_RowsPerStrip(278, "RowsPerStrip"),
    TIFF_DE_TYPE_MinSampleValue(280, "MinSampleValue"),
    TIFF_DE_TYPE_MaxSampleValue(281, "MaxSampleValue"),
    TIFF_DE_TYPE_XResolution(282, "XResolution"),
    TIFF_DE_TYPE_YResolution(283, "YResolution"),
    TIFF_DE_TYPE_PlanarConfiguration(284, "PlanarConfiguration"),
    TIFF_DE_TYPE_FreeOffsets(288, "FreeOffsets"),
    TIFF_DE_TYPE_FreeByteCounts(289, "FreeByteCounts"),
    TIFF_DE_TYPE_GrayResponseUnit(290, "GrayResponseUnit"),
    TIFF_DE_TYPE_GrayResponseCurve(291, "GrayResponseCurve"),
    TIFF_DE_TYPE_ResolutionUnit(296, "ResolutionUnit"),
    TIFF_DE_TYPE_Software(305, "Software"),
    TIFF_DE_TYPE_DateTime(306, "DateTime"),
    TIFF_DE_TYPE_Artist(315, "Artist"),
    TIFF_DE_TYPE_HostComputer(316, "HostComputer"),
    TIFF_DE_TYPE_ColorMap(320, "ColorMap"),
    TIFF_DE_TYPE_ExtraSamples(338, "ExtraSamples"),
    TIFF_DE_TYPE_Copyright(33432, "Copyright");

    private final int code;
    private final String name;

    TypeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
